<template>
  <div>
    <h1 v-text="loadSuccessMessage"></h1>
    <div v-text="count"></div>
    <button @click="addOne">点我</button>
  </div>
</template>

<script lang="js">
export default {
  name: "index",
  data() {
    return {
      loadSuccessMessage: "vue加载成功",
      count:1
    }
  },
  methods:{
    addOne(){
      this.count++
    }
  }
}
</script>

<style scoped>

</style>
